package springcloud.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@SpringBootApplication
@EnableConfigServer
@Controller
public class ConfigServiceApplication6310 {

    public static void main(String[] args) {
        SpringApplication.run(ConfigServiceApplication6310.class, args);
    }

    @GetMapping("/")
    @ResponseBody
    public String hello(){

        return "Hello springConfigService";
    }
}
